﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;

namespace DataAccess
{
    public static class Connect
    {
      //  public static string connString = "Data Source=ANHDT-PC;Initial Catalog=StudentAttendanceChecking;User ID=sa;Password=anhsoft";
        public static string connString = "Data Source=ANHNT-PC;Initial Catalog=StudentAttendanceChecking;Integrated Security=True";
        //phuong thuc ket noi
        public static SqlConnection getConnection()
        {
            return new SqlConnection(connString);
        }
    }
}
